// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 

package com.nnee.p_b.p_a;

import android.graphics.Bitmap;
import com.nnee.p_a.p_a.cls_g;
import com.nnee.p_fk.p_b.cls_e;
import com.nnee.p_pr.p_a.cls_p;
import com.nnee.p_pr.p_a.cls_r;
import com.nnee.p_pr.p_c.cls_i;
import java.io.File;

// Referenced classes of package com.nnee.b.a:
//            d, b

public class cls_v extends cls_e
{

    protected cls_v(String s, cls_g g1, int j, int k)
    {
        super(-2);
        a = s;
        b = g1;
        c = j;
        d = k;
    }

    public static cls_v a(String s, cls_g g1, int j, int k)
    {
        return new cls_v(s, g1, j, k);
    }

    public void c()
    {
    	String s=null;
        if(a.lastIndexOf("%local") <= 0) {
        	d(0, a);
        	return;
        } else {
        	File file = new File(b.e());
            if(!file.exists()) {
            	d(0, a);
            	return;
            } else {
            	Bitmap bitmap = cls_p.a(b.e());
                if(bitmap == null) {
                	d(0, a);
                	return;
                } else {
                	cls_g g1;
                    Bitmap bitmap1;
                    g1 = b.b();
                    bitmap1 = cls_p.b(bitmap, c, d);
                    if(bitmap1 == null) {
                    	d(0, a);
                    	return;
                    } else {
                    	 s = cls_r.a(a);
                        File file1 = new File(file.getParent(), s);
                        cls_p.a(bitmap1, 75, file1, android.graphics.Bitmap.CompressFormat.JPEG);
                        com.nnee.p_a.p_a.cls_e.c(file1);
                        bitmap1.recycle();
                        g1.b(file1.length());
                        cls_i.a(com.nnee.p_b.p_a.cls_d.h().a(), com.nnee.p_b.p_a.cls_d.h().c(), s, g1);
                        cls_b b1 = new cls_b();
                        b1.a = a;
                        b1.c = null;
                        c(0, b1);
                    }
                }
            }
        }
 
    }

    String a;
    cls_g b;
    int c;
    int d;
}
